set (gestureTests_VERSION_MAJOR 1)
set (gestureTests_VERSION_MINOR 0)

SET(QT_USE_QTOPENGL TRUE)

SET(gestureTests_SOURCES main.cpp ../handMove/xmltrajectoryreader.cpp)

include_directories ("${CMAKE_CURRENT_SOURCE_DIR}/../mlgesture")
INCLUDE(${QT_USE_FILE})

ADD_DEFINITIONS(${QT_DEFINITIONS})

add_executable(gestureTests ${gestureTests_SOURCES})
target_link_libraries (gestureTests mlgesture ${QT_LIBRARIES} ${OpenCV_LIBS} ${Boost_THREAD_LIBRARY})

install(TARGETS gestureTests DESTINATION ${CMAKE_BINARY_DIR}/app PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_WRITE WORLD_EXECUTE)
